package com.share.device.service;

import java.util.List;
import com.share.device.domain.Station;
import com.baomidou.mybatisplus.extension.service.IService;
import com.share.device.domain.VO.StationVo;

/**
 * 站点Service接口
 *
 * @author atguigu
 * @date 2025-06-25
 */
public interface IStationService extends IService<Station>
{

    /**
     * 查询站点列表
     *
     * @param station 站点
     * @return 站点集合
     */
    public List<Station> selectStationList(Station station);

    int saveStation(Station station);

    int updateStation(Station station);

    void updateData();

    List<StationVo> nearbyStation(String latitude, String longitude, Integer searchH5Radius);

    StationVo getStation(Long id, String latitude, String longitude);

    Station getByCabinetId(Long cabinetId);
}
